import java.util.Scanner;

public class hanrui {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("请输入要输出的偶数个数: ");
        int N = scanner.nextInt();
        printevennumbers(N);
    }

    public static void printevennumbers(int N) {
        for (int i = 0; i < N; i++) {
            System.out.println(i * 2);
        }
    }
}
